<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <div style="margin-left:100px;">
            <ul>
                <li v-for="(item,index) in 4">
                    <input type="text" v-model="data[index]" style="border:1px solid #ccc;height:50px;margin-top:10px;" @change="onChange">
                </li>
            </ul>
            <button @click="clickMe" style="height:30px;line-height:30px;margin-top:20px;">点我试试</button>
        </div>
    </div>
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
    <script>
        new Vue({
            el: '#app',
            data:{
                data:[
                    // {
                    //     value: 1,
                    //     label: '宝宝'
                    // },
                    // {
                    //     value: 2,
                    //     label: '乖乖'
                    // }
                ]
            },
            methods:{
                clickMe(){
                    console.log(this.data)
                },
                onChange(){
                    console.log(this.data)
                }
            }
        })
    </script>
</body>
</html>